home *** CD-ROM | disk | FTP | other *** search
- .TH PT3BARY
- 6 "IRIT Version 6.0"
- .SH NAME
- PT3BARY
-
-
-
- VectorType PT3BARY( PointType Pt1, PointType Pt2, PointType Pt3,
- PointType InteriorPt )
-
- Computes the barycentric coordinates of InterPt with respect
- to the triangle defined by Pt1, Pt2, Pt3. Returned
- is a vector of three coefficents, which are the weights of the three
- points of the triangle. InteriorPt is assumed to be in the
- triangle.
-
- Example:
-
- Coeffs = PT3BARY( point( 0, 0, 0 ),
- point( 1, 0, 0 ),
- point( 0, 1, 0 ),
- point( 0.25, 0.25, 0.0 ) );
-